This WDEF implements a window that is similar to the default appearance of Copland style windows. Drop the extension into your Extensions folder and restart to enjoy the look of Copland windows today!
Scott Fenton
Vicious Software
sfenton@together.net
Notes
Copland windows have an additional widget in the title bar along with the familiar close box and zoom box, there is now another box that supposedly toggles WindowShade-like behavior. Since WindowShade can be activated now by double/triple clicking, I chose instead to activate a 'Drawer-like' behavior which windows will receive under Copland. Well, trying to do this from within the WDEF has proved tricky and the current method is pretty flaky.
I was going to remove this behavior before I uploaded this WDEF, but since it has already been leaked with this functionality (disfunctionality?), I have decided to leave it there for now.
Bugs
-Drawer behavior is buggy and some applications don't like it. Avoid using it.
-Tracking the 'Shade' widget is buggy. Windows are not supposed to track hits themselves, only report where they were hit, so it doesn't quite work as you would expect when clicking into the Zoom box and then dragging into the Shade box.
-The 'grow icon' in the lower right corner is drawn in windows when it should not be. This is due to the problem of having to draw the new grow icon disabled. The old grow icon simply did not draw when it was disabled, it just got erased in the window content refresh, so a WDEF message is not passed in the case. The new grow icon must get drawn in an inactive window, and so I draw it during the WDEF draw message for certain window types. This works for many windows, but alas not all. I'm working on it!
1.0d10
-Clicks on the 'Shade' widget and drawers are handled better.
-Spacing for the title bar icon and text has been tweaked.
-The grow icon is drawn using a darker gray for improved visiblity.
1.0d9
-The 'Zoom' and 'Shade' widgets have been swapped for QuicKeys compatibility.
-Draws a folder icon in the title bar for 'zoomable' Finder windows.
-Fixed some disabled title bar drawing/clipping bugs.
You may freely copy and distribute this software, providing that the only charges levied are reasonable distribution costs. This software may not be included in any commercial software collection sold for profit, nor may it be bundled with any commercial software, books, CD-ROMs, or other media without the prior consent of the author. When redistributing this software, this documentation must accompany the software in their original form.
By using this software, you agree to absolve Scott Fenton, and Vicious Software, from any liability to data loss or other problems caused directly or indirectly by any part of this software. If you can not agree, don't use it.